package com.anlu.base;

import lombok.extern.slf4j.Slf4j;


@Slf4j
public class Client {

    private final ServiceAmbassador serviceAmbassador = new ServiceAmbassador();

    long useService(int value){
        var result = serviceAmbassador.doRemoteFunction(value);
        log.info("Service result: {}", result);
        return result;
    }
}
